package com.meteor.service;

import com.meteor.entity.Building;
import com.meteor.entity.Room;
import com.meteor.framework.common.utils.PageResult;
import com.meteor.framework.mybatis.service.BaseService;
import com.meteor.query.BuildingQuery;
import com.meteor.query.OrgAndCommunityQuery;
import com.meteor.query.RoomQuery;
import com.meteor.vo.BuildingVO;
import com.meteor.vo.RoomVO;

import java.util.List;

/**
 * @author lynn
 * @date 2024/1/22
 */

public interface RoomService extends BaseService<Room> {


    void save(RoomVO vo);

    void update(RoomVO vo);

    RoomVO get(String id);

    List<RoomVO> getList(RoomQuery query);

    PageResult<RoomVO> page(RoomQuery query);

    void delete(String id);

    List<RoomVO> unitRoom(OrgAndCommunityQuery query);

}
